
package za.ac.cput.peter.SoftwareDesignPrincipals.LSP.LSPViolation.Impl;


public abstract class Rectangle 
{
    protected int width;
    protected int length;

    public int getLength() { return length; }
    public void setLength(int length) { this.length = length; }

    public int getWidth() { return width; }
    public void setWidth(int width) { this.width = width; }
         
    public int area(){ return (length * width); }
}